package com.sharding.transaction.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharding.transaction.demo.entity.Goods;
import org.apache.ibatis.annotations.Param;

/**
 * user dao层
 * @author lihaodong
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    Integer deductionStore(@Param("goodsId") Long goodsId,@Param("store") Integer store);

}